export interface IColumn {
  id: number;
  code: string;
  useIp: string;
  type: number;
  nextTime: number;
  expiryTime: number;
  payMoney: number;
  ownerId: number;
  ownerUsername: string;
  createdTime: string;
  updatedTime: string;
  note: string;
}

// Table的参数
export interface ITableInfo {
  pageNum: number; //当前页码
  pageSize: number; //每页数据条数
  sortColumn: string; //排序字段名
  sortType: string; //排序类型
  selectedKeys: number[] | string[]; // 多选的Key
}

// 所属用户下拉框
export interface IOwnerSelect {
  id: number;
  username: string;
}

export interface IOrderType{id:number,value:string}

// 类型枚举
export const ORDER_TYPE:Array<IOrderType> = [
  {
    id: 0,
    value: "秒切版"
  },
  {
    id: 1,
    value: "15秒版"
  }
];
